﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SRAGWMCLib
{
    public class DataSource
    {
        string[] _Atributes;
        string _DBName, _DB, _Table;

        public string DBName
        {
            get
            {
                return _DBName;
            }
            set
            {
                _DBName = value;
            }
        }

        public string DB
        {
            get
            {
                return _DB;
            }
            set
            {
                _DB = value;
            }
        }

        public string Table
        {
            get
            {
                return _Table;
            }
            set
            {
                _Table = value;
            }
        }

        public string[] Atributes
        {
            get
            {
                return _Atributes;
            }
            set
            {
                _Atributes = value;
            }
        }

        public DataSource(string pDBName, string pDB, string pTable, string[] pAtributes) 
        {

            _DBName = pDBName;
            _DB = pDB;
            _Table = pTable;
            _Atributes = pAtributes;
            
        }
    }
}
